<div class="pure-g-r wrap">
    <div class="pure-u-2-3">
        <div ng-include src="parent.getTpl">
        </div>
    </div>
    <div class="pure-u-1-3 aside">
        <div class="panel pure-menu pure-menu-open">
            <ul class="text-center">
                <li ng-class="{active: parent.viewPath=='index'}">
                    <a href="/admin/index"><i class="fa fa-chevron-left left"></i>网站信息</a>
                </li>
                <li ng-class="{active: parent.viewPath=='user'}">
                    <a href="/admin/user"><i class="fa fa-chevron-left left"></i>用户管理</a>
                </li>
                <li ng-class="{active: parent.viewPath=='tag'}">
                    <a href="/admin/tag"><i class="fa fa-chevron-left left"></i>标签管理</a>
                </li>
                <li ng-class="{active: parent.viewPath=='article'}">
                    <a href="/admin/article"><i class="fa fa-chevron-left left"></i>文章管理</a>
                </li>
                <li ng-class="{active: parent.viewPath=='comment'}">
                    <a  href="/admin/comment"><i class="fa fa-chevron-left left"></i>评论管理</a>
                </li>
                <li ng-class="{active: parent.viewPath=='message'}">
                    <a href="/admin/message"><i class="fa fa-chevron-left left"></i>消息管理</a>
                </li>
                <li  ng-class="{active: parent.viewPath=='global'}" ng-show="global.isAdmin">
                    <a href="/admin/global"><i class="fa fa-chevron-left left"></i>网站设置</a>
                </li>
            </ul>
        </div>
    </div>
</div>
